package com.deer.wms.base.system.model.bill;

import com.deer.wms.common.core.service.QueryCriteria;
import lombok.Data;

import javax.persistence.Id;

@Data
public class MaterialInfoCriteria  extends QueryCriteria {
    //缓存线
    private String materialBatchId;//托号

    private String carrierId;//托ID

    private String parentMaterialId;//单晶ID

    private String materialProduct;//物料编码

    private String materialQuality;//物料品质

    @Id
    private String materialId;//单晶编码
    private String specId;//单晶规格
    private String materialCategory;//单晶等级
    private String materialPN;//单晶PN型
    private String rareMetal;//掺杂剂
    private String resistance;//电阻率
    private Integer	brickLength;//单晶长度
    private Integer stockInLength;//入库单晶长度
    private Double  weight;//入库重量
    private Integer assemblyType;//拼棒类型
    private Integer diameter;//直径
    private Integer sideLength;//边长
    private String comment;//备注
    private String color;//颜色
    private Integer pid;
    private Integer state;
    private String startTime;
    private String opTime;//颜色
    private String endTime;


    //入库单
    private String billNo;
    private String itemName;
    private String createTime;
    private String createUserName;
    private String supName;

    public String getMaterialBatchId() {
        return materialBatchId;
    }

    public void setMaterialBatchId(String materialBatchId) {
        this.materialBatchId = materialBatchId;
    }

    public String getCarrierId() {
        return carrierId;
    }

    public void setCarrierId(String carrierId) {
        this.carrierId = carrierId;
    }

    public String getParentMaterialId() {
        return parentMaterialId;
    }

    public void setParentMaterialId(String parentMaterialId) {
        this.parentMaterialId = parentMaterialId;
    }

    public String getMaterialProduct() {
        return materialProduct;
    }

    public void setMaterialProduct(String materialProduct) {
        this.materialProduct = materialProduct;
    }

    public String getMaterialQuality() {
        return materialQuality;
    }

    public void setMaterialQuality(String materialQuality) {
        this.materialQuality = materialQuality;
    }

    public String getMaterialId() {
        return materialId;
    }

    public void setMaterialId(String materialId) {
        this.materialId = materialId;
    }

    public String getSpecId() {
        return specId;
    }

    public void setSpecId(String specId) {
        this.specId = specId;
    }

    public String getMaterialCategory() {
        return materialCategory;
    }

    public void setMaterialCategory(String materialCategory) {
        this.materialCategory = materialCategory;
    }

    public String getMaterialPN() {
        return materialPN;
    }

    public void setMaterialPN(String materialPN) {
        this.materialPN = materialPN;
    }

    public String getRareMetal() {
        return rareMetal;
    }

    public void setRareMetal(String rareMetal) {
        this.rareMetal = rareMetal;
    }

    public String getResistance() {
        return resistance;
    }

    public void setResistance(String resistance) {
        this.resistance = resistance;
    }

    public Integer getBrickLength() {
        return brickLength;
    }

    public void setBrickLength(Integer brickLength) {
        this.brickLength = brickLength;
    }

    public Integer getStockInLength() {
        return stockInLength;
    }

    public void setStockInLength(Integer stockInLength) {
        this.stockInLength = stockInLength;
    }

    public Double getWeight() {
        return weight;
    }

    public void setWeight(Double weight) {
        this.weight = weight;
    }

    public Integer getAssemblyType() {
        return assemblyType;
    }

    public void setAssemblyType(Integer assemblyType) {
        this.assemblyType = assemblyType;
    }

    public Integer getDiameter() {
        return diameter;
    }

    public void setDiameter(Integer diameter) {
        this.diameter = diameter;
    }

    public Integer getSideLength() {
        return sideLength;
    }

    public void setSideLength(Integer sideLength) {
        this.sideLength = sideLength;
    }

    public String getComment() {
        return comment;
    }

    public void setComment(String comment) {
        this.comment = comment;
    }

    public String getColor() {
        return color;
    }

    public void setColor(String color) {
        this.color = color;
    }

    public Integer getPid() {
        return pid;
    }

    public void setPid(Integer pid) {
        this.pid = pid;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public String getStartTime() {
        return startTime;
    }

    public void setStartTime(String startTime) {
        this.startTime = startTime;
    }

    public String getOpTime() {
        return opTime;
    }

    public void setOpTime(String opTime) {
        this.opTime = opTime;
    }

    public String getEndTime() {
        return endTime;
    }

    public void setEndTime(String endTime) {
        this.endTime = endTime;
    }

    public String getBillNo() {
        return billNo;
    }

    public void setBillNo(String billNo) {
        this.billNo = billNo;
    }

    public String getItemName() {
        return itemName;
    }

    public void setItemName(String itemName) {
        this.itemName = itemName;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public String getCreateUserName() {
        return createUserName;
    }

    public void setCreateUserName(String createUserName) {
        this.createUserName = createUserName;
    }

    public String getSupName() {
        return supName;
    }

    public void setSupName(String supName) {
        this.supName = supName;
    }

    public MaterialInfoCriteria(String materialBatchId, String carrierId, String parentMaterialId, String materialProduct, String materialQuality, String materialId, String specId) {
        this.materialBatchId = materialBatchId;
        this.carrierId = carrierId;
        this.parentMaterialId = parentMaterialId;
        this.materialProduct = materialProduct;
        this.materialQuality = materialQuality;
        this.materialId = materialId;
        this.specId = specId;
    }

    public MaterialInfoCriteria(String materialBatchId, String carrierId, String parentMaterialId, String materialProduct, String materialQuality, String materialId, String specId, String materialCategory, String materialPN, String rareMetal, String resistance, Integer brickLength, Integer stockInLength, Double weight, Integer assemblyType, Integer diameter, Integer sideLength, String comment, String color, Integer pid, Integer state, String startTime, String opTime, String endTime) {
        this.materialBatchId = materialBatchId;
        this.carrierId = carrierId;
        this.parentMaterialId = parentMaterialId;
        this.materialProduct = materialProduct;
        this.materialQuality = materialQuality;
        this.materialId = materialId;
        this.specId = specId;
        this.materialCategory = materialCategory;
        this.materialPN = materialPN;
        this.rareMetal = rareMetal;
        this.resistance = resistance;
        this.brickLength = brickLength;
        this.stockInLength = stockInLength;
        this.weight = weight;
        this.assemblyType = assemblyType;
        this.diameter = diameter;
        this.sideLength = sideLength;
        this.comment = comment;
        this.color = color;
        this.pid = pid;
        this.state = state;
        this.startTime = startTime;
        this.opTime = opTime;
        this.endTime = endTime;
    }

    public MaterialInfoCriteria() {
    }
}
